package com.axter.test.js;

import android.content.Context;

/**
 * Created by axter on 2016/6/20.
 */
public class JsInterface extends Object{
    Context context;

    public JsInterface(Context context) {
        this.context = context;
    }

    public String onButtonClick(String text) {
//        Toast.makeText(context, text, Toast.LENGTH_SHORT).show();
        System.out.println(text);
        return "hello";
    }
}
